package com.hx.mypetstore.Bean;

public class Cart {
    private Integer goodid;

    private String name;

    private Integer num;

    private Integer price;

    private Boolean ischoice = false;

    private String imageid;

    public String getImageid() {
        return imageid;
    }

    public void setImageid(String imageid) {
        this.imageid = imageid;
    }

    public Cart(Integer goodid, String name, Integer num, Integer price) {
        this.goodid = goodid;
        this.name = name;
        this.num = num;
        this.price = price;
    }

    public Cart() {
    }

    public void setGoodid(Integer goodid) {
        this.goodid = goodid;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    public Integer getGoodid() {
        return goodid;
    }

    public String getName() {
        return name;
    }

    public Integer getNum() {
        return num;
    }

    public Integer getPrice() {
        return price;
    }

    public boolean isChoosed() {
        return ischoice;
    }

    public Boolean getIschoice() {
        return ischoice;
    }

    public void setIschoice(Boolean ischoice) {
        this.ischoice = ischoice;
    }
}
